package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsStorage;

/**
 * @author ZhangYuJie
 * projectName:shop_manage
 * time:2022/5/17 20:27
 * description:
 */
public interface DtsStorageService {
    IPage<DtsStorage> querySelective(String key, String name, Integer page, Integer limit, String sort, String order);

    DtsStorage add(String originalFilename, int size, String ext, byte[] bytes)throws Exception ;

    int update(DtsStorage dtsStorage);

    void deleteByKey(String key);

    public DtsStorage findByKey(String key);

    public DtsStorage findById(Integer id);
}
